﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="SamPhamChiTiet.ascx.cs" Inherits="iShopping.Member.UserControl.SamPhamChiTiet" %>
 <%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="cc1" %>
<link href="../../css/cssComments.css" rel="stylesheet" type="text/css" />
<link href="../css/cssSanPham.css" rel="stylesheet" type="text/css" />
<style type="text/css">
   .style1
    {
        width: 28px;
    }
</style>

<div id="comment_sanpham">   
<div id="comments">  
<asp:ScriptManager ID="ScriptManager1" runat="server">
</asp:ScriptManager>
    <asp:UpdatePanel ID="pnlComment" runat="server">               
       <ContentTemplate>     
       <div id="list_comment">
        <div id="title">Ý KIẾN BÌNH LUẬN</div>
    <asp:DataList ID="DataList1" runat="server" Width="100%" RepeatColumns="1"    >
        <HeaderTemplate>          
        </HeaderTemplate>
        <FooterTemplate>            
        </FooterTemplate>
        <ItemTemplate>
            <div id="avatar" style="border-style: 1; border-width: 1px;" align="center">
                <asp:Image ID="Image1" runat="server" ImageUrl='<%# Eval("Avatar") %>' Height="48px" 
                    Width="48px" />
            </div>
            <div id="taikhoan">
            <span>
                <asp:Label ID="Label1" runat="server" Text='<%# Eval("TenTaiKhoan") %>'></asp:Label><asp:Label ID="Label4"
                    runat="server" Text=" - "></asp:Label>  <asp:Label ID="Label3" 
                    runat="server" Text='<%# Eval("NgayComment") %>'></asp:Label></span>
            <div id="noidungs">
                <asp:Label ID="Label2" runat="server" Text='<%# Eval("NoiDungComment") %>'></asp:Label></div>
            </div>
         <%--   <div id="noidung">
            </div>--%>
        </ItemTemplate>
    </asp:DataList>   
    <div ID="phantrang">
                <table ID="paging">
                    <tr>
                        <td>
                            <asp:LinkButton ID="lbTruoc" runat="server" onclick="LinkButton1_Click">Trước</asp:LinkButton>
                        </td>
                        <td>
                            <asp:Panel ID="Panel2" runat="server">
                            </asp:Panel>
                        </td>
                        <td>
                            <asp:LinkButton ID="lbSau" runat="server" onclick="LinkButton2_Click">Sau</asp:LinkButton>
                        </td>
                    </tr>
                </table>
                <div>
                </div>
        </div>
    
</div>
<!-- end list comment -->
   <asp:Panel ID="Panel1" runat="server" BorderColor="Black" BorderStyle="Solid" 
        BorderWidth="1px">
        <div id="content_comment">
        <div id="content_box" align="center" >
            <asp:TextBox ID="txtContent" runat="server" BorderStyle="Solid" 
                        TextMode="MultiLine" Height="59px" Width="90%"  ></asp:TextBox>
        <%--     <cc1:textboxwatermarkextender id="TextBoxWatermarkExtender1" runat="server" 
                       targetcontrolid="txtContent" watermarktext="Nội dung bình luận"></cc1:textboxwatermarkextender>--%>
         </div>
         <div id ="btnClick" align="center" >                
            <asp:Button ID="btSend" runat="server" OnClick="btSend_Click" Text="Gửi" 
                 Width="96px" />
              
        </div>
        </div>
    </asp:Panel> 
    <!-- end content comment --> 
      <asp:DataList ID="DataListSanPham" runat="server" RepeatColumns="5">
    <ItemTemplate>
        <table id="Single" border="0" style="margin: 5px" 
    width="180">
            <tr>
                <td class="style1" colspan="4">
                    <asp:Image ID="Image1" runat="server" 
                ImageUrl="~/images/ChiTiet/single.png" />
                </td>
            </tr>
            <tr>
                <td align="center" colspan="4" >
                 <asp:HyperLink ID="HyperLink1" runat="server" Text='<%# Eval("TenSanPham") %>'  
                        NavigateUrl='<%# "~/Member/ChiTietSanPham.aspx?pgn=1&id=" + Eval("MaSanPham") %>' Height="70px"></asp:HyperLink>
                </td>
            </tr>
            <tr>
                <td align="center" width="46">
                    <asp:Image ID="Image2" runat="server" 
                ImageUrl="~/images/ChiTiet/H1.png" />
                </td>
                <td align="center" width="43">
                    <asp:Image ID="Image3" runat="server" 
                ImageUrl="~/images/ChiTiet/H2.png" />
                </td>
                <td align="center" width="43">
                    <asp:Image ID="Image4" runat="server" 
                ImageUrl="~/images/ChiTiet/H3.png" />
                </td>
                <td align="center" class="style1">
                    <asp:Image ID="Image5" runat="server" 
                ImageUrl="~/images/ChiTiet/H4.png" />
                </td>
            </tr>
            <tr>
                <td align="center" colspan="4">
                    <asp:Image ID="Image6" runat="server" Height="93px" 
                ImageUrl='<%# Eval("HinhAnh") %>' style="margin-right: 9px" 
                Width="95px" />
                </td>
            </tr>
            <tr>
                <td colspan="4" align="center">
                    <asp:Label ID="Label1" runat="server" Text="Label"></asp:Label>
                </td>
            </tr>
            <tr>
                <td colspan="4">
                    Giá đặt cược: 0 VND</td>
            </tr>
            <tr>
                <td align="center" colspan="4" style="font-size:14px">
                    Giá bán lẻ:
                    <asp:Label ID="lblGia" runat="server" 
                Text='<%# Eval("GiaKhoiDiem") %>'></asp:Label>
                    VNĐ
                </td>
            </tr>
            <tr style="margin: 3px">
                <td colspan="4" style="background-color:#9999FF">
                    <asp:Image ID="Image7" runat="server" 
                ImageUrl="~/images/ChiTiet/beginner.png" />
                    Tên người đang đấu giá</td>
            </tr>
            <tr>
                <td align="center" colspan="4" height="32">
                  <asp:ImageButton ID="ImageButton1" runat="server" 
                                    ImageUrl="~/images/ChiTiet/bid_btn.png"  OnClick="ImageButton1_Click" />                    
                </td>
            </tr>
        </table>
    </ItemTemplate>
</asp:DataList>
           <asp:Timer ID="Timer1" runat="server" Interval="1000" ontick="Timer1_Tick">
           </asp:Timer>
        </ContentTemplate>
    </asp:UpdatePanel>

</div>
   
</div>
 <%--<div id="Div2"     style="border: 1px solid #000000; margin-top: 4px; margin-bottom: 4px; background-image: url('http://localhost:51135/images/ChiTiet/bg_top_listbid.jpg'); background-repeat: repeat-x;">     

<div>
   <asp:ScriptManager ID="ScriptManager2" runat="server">
    </asp:ScriptManager>
    <asp:UpdatePanel ID="UpdatePanel1" runat="server">
    <ContentTemplate>
    <asp:DataList ID="DataList2" runat="server" RepeatColumns="5">
    <ItemTemplate>
        <table id="Single" border="0" style="margin: 5px" 
    width="180">
            <tr>
                <td class="style1" colspan="4">
                    <asp:Image ID="Image1" runat="server" 
                ImageUrl="~/images/ChiTiet/single.png" />
                </td>
            </tr>
            <tr>
                <td align="center" colspan="4" >
                 <asp:HyperLink ID="HyperLink1" runat="server" Text='<%# Eval("TenSanPham") %>'  
                        NavigateUrl='<%# "~/Member/ChiTietSanPham.aspx?pgn=1&id=" + Eval("MaSanPham") %>' Height="70px"></asp:HyperLink>
                </td>
            </tr>
            <tr>
                <td align="center" width="46">
                    <asp:Image ID="Image2" runat="server" 
                ImageUrl="~/images/ChiTiet/H1.png" />
                </td>
                <td align="center" width="43">
                    <asp:Image ID="Image3" runat="server" 
                ImageUrl="~/images/ChiTiet/H2.png" />
                </td>
                <td align="center" width="43">
                    <asp:Image ID="Image4" runat="server" 
                ImageUrl="~/images/ChiTiet/H3.png" />
                </td>
                <td align="center" class="style1">
                    <asp:Image ID="Image5" runat="server" 
                ImageUrl="~/images/ChiTiet/H4.png" />
                </td>
            </tr>
            <tr>
                <td align="center" colspan="4">
                    <asp:Image ID="Image6" runat="server" Height="93px" 
                ImageUrl='<%# Eval("HinhAnh") %>' style="margin-right: 9px" 
                Width="95px" />
                </td>
            </tr>
            <tr>
                <td colspan="4" align="center">
                    <asp:Label ID="Label1" runat="server" Text="Label"></asp:Label>
                </td>
            </tr>
            <tr>
                <td colspan="4">
                    Giá đặt cược: 0 VND</td>
            </tr>
            <tr>
                <td align="center" colspan="4" style="font-size:14px">
                    Giá bán lẻ:
                    <asp:Label ID="lblGia" runat="server" 
                Text='<%# Eval("GiaKhoiDiem") %>'></asp:Label>
                    VNĐ
                </td>
            </tr>
            <tr style="margin: 3px">
                <td colspan="4" style="background-color:#9999FF">
                    <asp:Image ID="Image7" runat="server" 
                ImageUrl="~/images/ChiTiet/beginner.png" />
                    Tên người đang đấu giá</td>
            </tr>
            <tr>
                <td align="center" colspan="4" height="32">
                  <asp:ImageButton ID="ImageButton1" runat="server" 
                                    ImageUrl="~/images/ChiTiet/bid_btn.png"  OnClick="ImageButton1_Click" />                    
                </td>
            </tr>
        </table>
    </ItemTemplate>
</asp:DataList>
<asp:Timer ID="Timer1" runat="server" ontick="Timer1_Tick">
    </asp:Timer>
    </ContentTemplate>
    </asp:UpdatePanel>
    
</div>
 </div>--%>